Optimal. Leaf size=83 \[ d x \left (d^2-e^2 x^2\right )^p \left (1-\frac{e^2 x^2}{d^2}\right )^{-p} \, _2F_1\left (\frac{1}{2},-p;\frac{3}{2};\frac{e^2 x^2}{d^2}\right )-\frac{\left (d^2-e^2 x^2\right )^{p+1}}{2 e (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0230472, antiderivative size = 83, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {641, 246, 245} \[ d x \left (d^2-e^2 x^2\right )^p \left (1-\frac{e^2 x^2}{d^2}\right )^{-p} \, _2F_1\left (\frac{1}{2},-p;\frac{3}{2};\frac{e^2 x^2}{d^2}\right )-\frac{\left (d^2-e^2 x^2\right )^{p+1}}{2 e (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 641
Rule 246
Rule 245
Rubi steps
\begin{align*} \int (d+e x) \left (d^2-e^2 x^2\right )^p \, dx &=-\frac{\left (d^2-e^2 x^2\right )^{1+p}}{2 e (1+p)}+d \int \left (d^2-e^2 x^2\right )^p \, dx\\ &=-\frac{\left (d^2-e^2 x^2\right )^{1+p}}{2 e (1+p)}+\left (d \left (d^2-e^2 x^2\right )^p \left (1-\frac{e^2 x^2}{d^2}\right )^{-p}\right ) \int \left (1-\frac{e^2 x^2}{d^2}\right )^p \, dx\\ &=-\frac{\left (d^2-e^2 x^2\right )^{1+p}}{2 e (1+p)}+d x \left (d^2-e^2 x^2\right )^p \left (1-\frac{e^2 x^2}{d^2}\right )^{-p} \, _2F_1\left (\frac{1}{2},-p;\frac{3}{2};\frac{e^2 x^2}{d^2}\right )\\ \end{align*}
Mathematica [A] time = 0.0515144, size = 83, normalized size = 1. \[ d x \left (d^2-e^2 x^2\right )^p \left (1-\frac{e^2 x^2}{d^2}\right )^{-p} \, _2F_1\left (\frac{1}{2},-p;\frac{3}{2};\frac{e^2 x^2}{d^2}\right )-\frac{\left (d^2-e^2 x^2\right )^{p+1}}{2 e (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.421, size = 0, normalized size = 0. \begin{align*} \int \left ( ex+d \right ) \left ( -{x}^{2}{e}^{2}+{d}^{2} \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (e x + d\right )}{\left (-e^{2} x^{2} + d^{2}\right )}^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (e x + d\right )}{\left (-e^{2} x^{2} + d^{2}\right )}^{p}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.6246, size = 82, normalized size = 0.99 \begin{align*} d d^{2 p} x{{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, - p \\ \frac{3}{2} \end{matrix}\middle |{\frac{e^{2} x^{2} e^{2 i \pi }}{d^{2}}} \right )} + e \left (\begin{cases} \frac{x^{2} \left (d^{2}\right )^{p}}{2} & \text{for}\: e^{2} = 0 \\- \frac{\begin{cases} \frac{\left (d^{2} - e^{2} x^{2}\right )^{p + 1}}{p + 1} & \text{for}\: p \neq -1 \\\log{\left (d^{2} - e^{2} x^{2} \right )} & \text{otherwise} \end{cases}}{2 e^{2}} & \text{otherwise} \end{cases}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (e x + d\right )}{\left (-e^{2} x^{2} + d^{2}\right )}^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]